package cn.mujiankeji.mbrowser.界面.图标.myiconpack

import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.padding
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.PathFillType.Companion.NonZero
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.ImageVector.Builder
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import cn.mujiankeji.mbrowser.界面.图标.MyIconPack
import kotlin.Unit

public val MyIconPack.分享: ImageVector
    get() {
        if (_分享 != null) {
            return _分享!!
        }
        _分享 = Builder(name = "分享", defaultWidth = 24.0.dp, defaultHeight = 24.0.dp, viewportWidth =
                960.0f, viewportHeight = 960.0f).apply {
            path(fill = SolidColor(Color(0xFF5f6368)), stroke = null, strokeLineWidth = 0.0f,
                    strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f,
                    pathFillType = NonZero) {
                moveTo(120.0f, 800.0f)
                verticalLineToRelative(-640.0f)
                lineToRelative(760.0f, 320.0f)
                lineToRelative(-760.0f, 320.0f)
                close()
                moveTo(200.0f, 680.0f)
                lineTo(674.0f, 480.0f)
                lineTo(200.0f, 280.0f)
                verticalLineToRelative(140.0f)
                lineToRelative(240.0f, 60.0f)
                lineToRelative(-240.0f, 60.0f)
                verticalLineToRelative(140.0f)
                close()
                moveTo(200.0f, 680.0f)
                verticalLineToRelative(-400.0f)
                verticalLineToRelative(400.0f)
                close()
            }
        }
        .build()
        return _分享!!
    }

private var _分享: ImageVector? = null

@Preview
@Composable
private fun Preview(): Unit {
    Box(modifier = Modifier.padding(12.dp)) {
        Image(imageVector = MyIconPack.分享, contentDescription = "")
    }
}
